package com.ho1ho.springboot.framework.core;

public interface Const {

	String USER_IN_SESSION = "loggedInSessionUser";
	
	String LOGGED_IN_USER = "loggedInUser";

	// ========================================================================

	String CURRENT_RUNNING_PROFILE_DEV = "dev";
	String CURRENT_RUNNING_PROFILE_DOCKER = "docker";

	String UPLOAD_FILE_FOLDER = "files/";
	String UPLOAD_FILE_CONTEXT_PATH = "/files/";

	int TIME_ONE_DATE_IN_SECONDS = 24 * 60 * 60;
	int TOKEN_VALIDITY_SECONDS = 3 * TIME_ONE_DATE_IN_SECONDS;

	int RESULT_CODE_OK = 0;
	String RESULT_STRING_OK = "OK";

	int RESULT_CODE_NO_DATA = -1;
	String RESULT_STRING_NO_DATA = "Data not found";

	int RESULT_CODE_DATA_EXIST = -2;
	String RESULT_STRING_DATA_EXIST = "Data exist";

	int RESULT_CODE_PARAMETER_INVALID = -901;
	String RESULT_STRING_PARAMETER_ERROR = "Parameter invalid";

	int RESULT_CODE_UNKNOWN_ERROR = -999;
	String RESULT_STRING_UNKNOWN_ERROR = "Unknown Error";
}
